package cn.lyw.usermessage.service.service;

import cn.common.restresult.util.RestResult;
import cn.lyw.usermessage.service.bo.AddUserEncryptedBO;
import cn.lyw.usermessage.service.bo.EditUserEncryptedBO;
import cn.lyw.usermessage.service.bo.GetUserEncryptedBO;
import cn.lyw.usermessage.service.domain.GetUserEncryptedDO;

import java.util.List;

/**
 * @Author lyw
 * @Description 用户密保
 * @Date 20:14 2021/7/16
 * @Param
 * @return
 */
public interface UserEncryptedService {

    /**
     * @return
     * @Author lyw
     * @Description 根据登录的用户查询密保
     * @Date 20:15 2021/7/16
     * @Param
     */
    List<GetUserEncryptedDO> getUserEncrypted(GetUserEncryptedBO bo);


    /**
     * @return
     * @Author lyw
     * @Description 新增密保
     * @Date 20:30 2021/7/16
     * @Param
     */
    RestResult addUserEncrypted(AddUserEncryptedBO bo);


    /**
     * @return
     * @Author lyw
     * @Description 修改密保
     * @Date 9:10 2021/7/17
     * @Param
     */
    RestResult editUserEncrypted(EditUserEncryptedBO bo);


    /**
     * @return
     * @Author lyw
     * @Description 根据密保的id删除密保
     * @Date 9:12 2021/7/17
     * @Param
     */
    RestResult delUserEncrypted(String encryptedId);

}
